std::exception
From Cppreference
| C++ Standard Library | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Utilities library | |||||||||||||||||||||||
| Error handling | |||||||||||||||||||||||
| std::exception | |||||||||||||||||||||||
| |||||||||||||||||||||||
| Defined in header <exception>
| ||
| class exception;
| ||
Provides consistent interface to handle errors through the throw expression.
Most of the exception classes inherit from std::exception
[edit] Member functions
| constructs the exception object (public member function) | ||
| destructs the exception object (virtual public member function) | ||
| returns explanatory string (virtual public member function) | ||